package com.yunsc.admin;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.FilterType;

// @MapperScan("com.yunsc.**.dao")
// @SpringBootApplication(scanBasePackages={"com.yunsc"})
@SpringBootApplication
@ComponentScan(
        basePackages = {"com.yunsc"},
        excludeFilters = {
                @ComponentScan.Filter(type = FilterType.REGEX, pattern = "com.yunsc.shop.*")
        }
)
public class YunscAdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(YunscAdminApplication.class, args);
    }

}
